package scenes
{
   import casts.*;
   
   import jp.progression.casts.*;
   import jp.progression.commands.display.*;
   import jp.progression.scenes.*;
	
	/**
	 * @author  cjboy1984@gmail.com
	 */
	public class SuperStepScene extends SceneObject
	{
      private var page:CastMovieClip;

		public function SuperStepScene(name:String, initObject:Object = null)
		{
			super(name, initObject);

         // sub-scene << edit here
         addScene(new StepScene('step_1', 'step_1'));
         addScene(new StepScene('step_2', 'step_2'));
         addScene(new StepScene('step_3', 'step_3'));
         addScene(new StepScene('step_4', 'step_4'));

         page = new A_Page() as CastMovieClip;
		}

		// ################### protected ##################

		override protected function atSceneInit():void
		{
         // tracking
         MyUtils.extCall('pv', 1);

			addCommand(
				new AddChildAtAbove(container, page, DEF.z)
			);
		}

      override protected function atSceneUnload():void
      {
         addCommand(
				new RemoveChild(container, page)
			);
      }

      override protected function atSceneGoto():void {}
		override protected function atSceneLoad():void {}
      override protected function atSceneAscend():void {}
      override protected function atSceneDescend():void {}

      // #################### private ###################

      // --------------------- LINE ---------------------

	}

}
